package com.bawei.fuxi.ui.login;


import com.bawei.fuxi.base.mvp.BaseView;
import com.bawei.fuxi.entity.LoginEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;

public interface LoginContract {
    interface ILoginModel{
        Observable<LoginEntity> login(RequestBody requestBody);
    }
    interface ILoginView extends BaseView {
        void showLogin(LoginEntity loginEntity);
    }

    interface ILoginPresenter{
        void login( RequestBody requestBody);
    }
}
